<form action="{host}/index.php?p=chat&no_head" method="post" target="chat_box" name="chbox" onsubmit="chatsubmit()">
   <div style="text-align:left;width:100%;border:1px solid black;padding:5px;">
       <b>{chat}</b> [ <a href="{host}/index.php?p=chat&no_head&enable=0"><b>{chat_close}</b></a> ]
       <iframe src="{host}/index.php?p=chat&no_head" width="100%" height="200" frameborder="0" name="chat_box" marginwidth="0" marginheight="0"></iframe>
       <div align="center">
           <b>{chat_chat}</b>
           <input type="text" maxlength="180" name="chbox_text" size="100" />
           <input class="button" type="submit" value="{chat_send}" />
           <input type="hidden" name="sent" value="yes" />
           <br />
           <a href="javascript:SmileIT(':-)','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/smile1.gif" alt="Smile" title="Smile" /></a> 
           <a href="javascript:SmileIT(':smile:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/smile2.gif" alt="Smiling" title="Smiling" /></a> 
           <a href="javascript:SmileIT(':-D','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/grin.gif" alt="Grin" title="Grin" /></a> 
           <a href="javascript:SmileIT(':lol:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/laugh.gif" alt="Laughing" title="Laughing" /></a> 
           <a href="javascript:SmileIT(':w00t:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/w00t.gif" alt="W00t" title="W00t" /></a> 
           <a href="javascript:SmileIT(';-)','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/wink.gif" alt="Wink" title="Wink" /></a> 
           <a href="javascript:SmileIT(':devil:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/devil.gif" alt="Devil" title="Devil" /></a> 
           <a href="javascript:SmileIT(':yawn:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/yawn.gif" alt="Yawn" title="Yawn" /></a> 
           <a href="javascript:SmileIT(':-/','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/confused.gif" alt="Confused" title="Confused" /></a> 
           <a href="javascript:SmileIT(':o)','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/clown.gif" alt="Clown" title="Clown" /></a> 
           <a href="javascript:SmileIT(':innocent:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/innocent.gif" alt="Innocent" title="innocent" /></a> 
           <a href="javascript:SmileIT(':whistle:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/whistle.gif" alt="Whistle" title="Whistle" /></a> 
           <a href="javascript:SmileIT(':unsure:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/unsure.gif" alt="Unsure" title="Unsure" /></a> 
           <a href="javascript:SmileIT(':blush:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/blush.gif" alt="Blush" title="Blush" /></a> 
           <a href="javascript:SmileIT(':hmm:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/hmm.gif" alt="Hmm" title="Hmm" /></a> 
           <a href="javascript:SmileIT(':hmmm:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/hmmm.gif" alt="Hmmm" title="Hmmm" /></a> 
           <a href="javascript:SmileIT(':huh:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/huh.gif" alt="Huh" title="Huh" /></a> 
           <a href="javascript:SmileIT(':look:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/look.gif" alt="Look" title="Look" /></a> 
           <a href="javascript:SmileIT(':rolleyes:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/rolleyes.gif" alt="Roll Eyes" title="Roll Eyes" /></a> 
           <a href="javascript:SmileIT(':kiss:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/kiss.gif" alt="Kiss" title="Kiss" /></a> 
           <a href="javascript:SmileIT(':blink:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/blink.gif" alt="Blink" title="Blink" /></a> 
           <a href="javascript:SmileIT(':baby:','chbox','chbox_text')"><img border="0" src="{host}/img/smilies/baby.gif" alt="Baby" title="Baby" /></a><br/>
       </div>
       <div style="height:75px;"><span style="font-weight:bold;font-size:8pt;"><span style="float:right;"><a href="{host}/index.php?p=chat&no_head" target="chat_box">{chat_refresh}</a><a href="javascript:PopMoreSmiles('chbox','chbox_text');">{chat_smilies}</a>{chat_clear}</span></span></div>
   </div>
</form>